package com.ad.backstage.model;

import com.ad.backstage.model.base.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 次级行业
 * </p>
 *
 * @author gdx
 * @since 2021-06-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PfCategorySub对象", description="次级行业")
public class PfCategorySub extends BaseModel implements Serializable {

private static final long serialVersionUID=1L;


    @ApiModelProperty(value = "trade_id")
    private Long tradeId;

    @ApiModelProperty(value = "下级行业名称")
    private String subName;

    @ApiModelProperty(value = "上下架状态(1/0)")
    private Integer status;

    @ApiModelProperty(value = "行业级别(1or2)")
    private Integer level;

    @ApiModelProperty(value = "自连接parent_id")
    private Long parentId;

    @ApiModelProperty(value = "图标")
    private String path;


}
